﻿using System;
using System.Collections.Generic;
using Autodesk.Revit.DB;
using YJKRoomInspection.Model;
using YJKInspectModelFunc.ControlLayer;
using YJKInspectModelFunc.ModelLayer;

namespace YJKRoomInspection.FindRoomMethod
{
	public static class CloseCurveAnalyser
	{
		public static List<ICloseCurveAnalays> GetCloseCurveAnalysis(Autodesk.Revit.DB.Document inpuDocument, List<Element> lstInputElment, List<Level> lstUseLevel, List<Phase> lstUsePhase, bool ifFindDoor = true)
		{
			return CloseCurveAreaAnalysisManger.GetResults<FrontRoomPacker, FrontRoomDoorPacker, BaseBoundarySegmentPacker, BaseHostInRoomPacker>(inpuDocument, lstInputElment, ifFindDoor, lstUseLevel, lstUsePhase, new List<BuiltInCategory>
			{
				(BuiltInCategory)(-2000120)
			}, true, null);
		}
	}
}
